//
//  YLHealthKitModel.m
//  HealthKitManager
//
//  Created by JuneLee on 2018/11/9.
//

#import "YLHealthKitModel.h"

@implementation YLHealthKitConfig
@end

@implementation YLHealthKitModel

- (YLHealthKitModel *)initHeight:(CGFloat)height weight:(CGFloat)weight fatWeight:(CGFloat)fatWeight bodyFat:(CGFloat)bodyFat bmi:(CGFloat)bmi bmr:(CGFloat)bmr date:(NSDate *)date {
    self.height = height;
    self.weight = weight;
    self.fatWeight = fatWeight;
    self.bodyFat = bodyFat;
    self.bmi = bmi;
    self.bmr = bmr;
    self.date = date;
    return self;
}

- (YLHealthKitModel *)initStep:(int)step startDate:(NSDate *)startDate endDate:(NSDate *)endDate {
    self.step = step;
    self.startDate = startDate;
    self.endDate = endDate;
    return self;
}

- (YLHealthKitModel *)initSleepType:(SleepType)sleepType startDate:(NSDate *)startDate endDate:(NSDate *)endDate {
    self.sleepType = sleepType;
    self.startDate = startDate;
    self.endDate = endDate;
    return self;
}

- (YLHealthKitModel *)initheartRate:(int)heartRate startDate:(NSDate *)startDate endDate:(NSDate *)endDate {
    self.heartRate = heartRate;
    self.startDate = startDate;
    self.endDate = endDate;
    return self;
}
@end
